package tgc.rj.zz.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import tgc.rj.zz.custom.CommonService;
import tgc.rj.zz.entity.User;
import tgc.rj.zz.repository.UserRepository;

@Service
public class UserService extends CommonService<User, Integer>{

	@Autowired
	private UserRepository userDAO;
	


	public List<User> findByUsernameLike(String string) {
		
		return userDAO.findByUsernameLike(string);
	}

}
